<?xml version="1.0"?>

<!DOCTYPE xsl:stylesheet [
	<!ENTITY nbsp "&#160;">
]>

<xsl:stylesheet version="1.0" 
        xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
        xmlns="http://www.w3.org/1999/xhtml">
    <xsl:output method="xml" indent="yes"
        doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" 
        doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>
 
    <!--XHTML document outline--> 
    <xsl:template match="/">
        <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
            <head>
                <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
                <title><xsl:value-of select="IMHISTORY/EVENT/PROTOCOL"/>:&nbsp;<xsl:value-of select="IMHISTORY/EVENT/CONTACT"/></title>               
            </head>
            <body>
                <xsl:for-each select="IMHISTORY/EVENT">
		<p>
		  <strong>[<xsl:value-of select="DATE"/>&nbsp;<xsl:value-of select="TIME"/>]:
		  <xsl:value-of select="FROM"/>:&nbsp;</strong><xsl:value-of select="MESSAGE"/>		  
		</p>
	      </xsl:for-each>
            </body>
        </html>
    </xsl:template>
</xsl:stylesheet>

